package com.hsmpay.mobile.pojo.trans;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class SSBindCardsExample {
    protected String orderByClause;

    protected List oredCriteria;

    public SSBindCardsExample() {
        oredCriteria = new ArrayList();
    }

    protected SSBindCardsExample(SSBindCardsExample example) {
        this.orderByClause = example.orderByClause;
        this.oredCriteria = example.oredCriteria;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public List getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
    }

    public static class Criteria {
        protected List criteriaWithoutValue;

        protected List criteriaWithSingleValue;

        protected List criteriaWithListValue;

        protected List criteriaWithBetweenValue;

        protected Criteria() {
            super();
            criteriaWithoutValue = new ArrayList();
            criteriaWithSingleValue = new ArrayList();
            criteriaWithListValue = new ArrayList();
            criteriaWithBetweenValue = new ArrayList();
        }

        public boolean isValid() {
            return criteriaWithoutValue.size() > 0
                || criteriaWithSingleValue.size() > 0
                || criteriaWithListValue.size() > 0
                || criteriaWithBetweenValue.size() > 0;
        }

        public List getCriteriaWithoutValue() {
            return criteriaWithoutValue;
        }

        public List getCriteriaWithSingleValue() {
            return criteriaWithSingleValue;
        }

        public List getCriteriaWithListValue() {
            return criteriaWithListValue;
        }

        public List getCriteriaWithBetweenValue() {
            return criteriaWithBetweenValue;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteriaWithoutValue.add(condition);
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("value", value);
            criteriaWithSingleValue.add(map);
        }

        protected void addCriterion(String condition, List values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("values", values);
            criteriaWithListValue.add(map);
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            List list = new ArrayList();
            list.add(value1);
            list.add(value2);
            Map map = new HashMap();
            map.put("condition", condition);
            map.put("values", list);
            criteriaWithBetweenValue.add(map);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return this;
        }

        public Criteria andIdIn(List values) {
            addCriterion("ID in", values, "id");
            return this;
        }

        public Criteria andIdNotIn(List values) {
            addCriterion("ID not in", values, "id");
            return this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("USERID is null");
            return this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("USERID is not null");
            return this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("USERID =", value, "userId");
            return this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("USERID <>", value, "userId");
            return this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("USERID >", value, "userId");
            return this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("USERID >=", value, "userId");
            return this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("USERID <", value, "userId");
            return this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("USERID <=", value, "userId");
            return this;
        }

        public Criteria andUserIdIn(List values) {
            addCriterion("USERID in", values, "userId");
            return this;
        }

        public Criteria andUserIdNotIn(List values) {
            addCriterion("USERID not in", values, "userId");
            return this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("USERID between", value1, value2, "userId");
            return this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("USERID not between", value1, value2, "userId");
            return this;
        }

        public Criteria andLoginNameIsNull() {
            addCriterion("LOGINNAME is null");
            return this;
        }

        public Criteria andLoginNameIsNotNull() {
            addCriterion("LOGINNAME is not null");
            return this;
        }

        public Criteria andLoginNameEqualTo(String value) {
            addCriterion("LOGINNAME =", value, "loginName");
            return this;
        }

        public Criteria andLoginNameNotEqualTo(String value) {
            addCriterion("LOGINNAME <>", value, "loginName");
            return this;
        }

        public Criteria andLoginNameGreaterThan(String value) {
            addCriterion("LOGINNAME >", value, "loginName");
            return this;
        }

        public Criteria andLoginNameGreaterThanOrEqualTo(String value) {
            addCriterion("LOGINNAME >=", value, "loginName");
            return this;
        }

        public Criteria andLoginNameLessThan(String value) {
            addCriterion("LOGINNAME <", value, "loginName");
            return this;
        }

        public Criteria andLoginNameLessThanOrEqualTo(String value) {
            addCriterion("LOGINNAME <=", value, "loginName");
            return this;
        }

        public Criteria andLoginNameLike(String value) {
            addCriterion("LOGINNAME like", value, "loginName");
            return this;
        }

        public Criteria andLoginNameNotLike(String value) {
            addCriterion("LOGINNAME not like", value, "loginName");
            return this;
        }

        public Criteria andLoginNameIn(List values) {
            addCriterion("LOGINNAME in", values, "loginName");
            return this;
        }

        public Criteria andLoginNameNotIn(List values) {
            addCriterion("LOGINNAME not in", values, "loginName");
            return this;
        }

        public Criteria andLoginNameBetween(String value1, String value2) {
            addCriterion("LOGINNAME between", value1, value2, "loginName");
            return this;
        }

        public Criteria andLoginNameNotBetween(String value1, String value2) {
            addCriterion("LOGINNAME not between", value1, value2, "loginName");
            return this;
        }

        public Criteria andCardNumberIsNull() {
            addCriterion("CARDNUMBER is null");
            return this;
        }

        public Criteria andCardNumberIsNotNull() {
            addCriterion("CARDNUMBER is not null");
            return this;
        }

        public Criteria andCardNumberEqualTo(String value) {
            addCriterion("CARDNUMBER =", value, "cardNumber");
            return this;
        }

        public Criteria andCardNumberNotEqualTo(String value) {
            addCriterion("CARDNUMBER <>", value, "cardNumber");
            return this;
        }

        public Criteria andCardNumberGreaterThan(String value) {
            addCriterion("CARDNUMBER >", value, "cardNumber");
            return this;
        }

        public Criteria andCardNumberGreaterThanOrEqualTo(String value) {
            addCriterion("CARDNUMBER >=", value, "cardNumber");
            return this;
        }

        public Criteria andCardNumberLessThan(String value) {
            addCriterion("CARDNUMBER <", value, "cardNumber");
            return this;
        }

        public Criteria andCardNumberLessThanOrEqualTo(String value) {
            addCriterion("CARDNUMBER <=", value, "cardNumber");
            return this;
        }

        public Criteria andCardNumberLike(String value) {
            addCriterion("CARDNUMBER like", value, "cardNumber");
            return this;
        }

        public Criteria andCardNumberNotLike(String value) {
            addCriterion("CARDNUMBER not like", value, "cardNumber");
            return this;
        }

        public Criteria andCardNumberIn(List values) {
            addCriterion("CARDNUMBER in", values, "cardNumber");
            return this;
        }

        public Criteria andCardNumberNotIn(List values) {
            addCriterion("CARDNUMBER not in", values, "cardNumber");
            return this;
        }

        public Criteria andCardNumberBetween(String value1, String value2) {
            addCriterion("CARDNUMBER between", value1, value2, "cardNumber");
            return this;
        }

        public Criteria andCardNumberNotBetween(String value1, String value2) {
            addCriterion("CARDNUMBER not between", value1, value2, "cardNumber");
            return this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("IDCARD is null");
            return this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("IDCARD is not null");
            return this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("IDCARD =", value, "idCard");
            return this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("IDCARD <>", value, "idCard");
            return this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("IDCARD >", value, "idCard");
            return this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("IDCARD >=", value, "idCard");
            return this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("IDCARD <", value, "idCard");
            return this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("IDCARD <=", value, "idCard");
            return this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("IDCARD like", value, "idCard");
            return this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("IDCARD not like", value, "idCard");
            return this;
        }

        public Criteria andIdCardIn(List values) {
            addCriterion("IDCARD in", values, "idCard");
            return this;
        }

        public Criteria andIdCardNotIn(List values) {
            addCriterion("IDCARD not in", values, "idCard");
            return this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("IDCARD between", value1, value2, "idCard");
            return this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("IDCARD not between", value1, value2, "idCard");
            return this;
        }

        public Criteria andIssueBankIsNull() {
            addCriterion("ISSUEBANK is null");
            return this;
        }

        public Criteria andIssueBankIsNotNull() {
            addCriterion("ISSUEBANK is not null");
            return this;
        }

        public Criteria andIssueBankEqualTo(String value) {
            addCriterion("ISSUEBANK =", value, "issueBank");
            return this;
        }

        public Criteria andIssueBankNotEqualTo(String value) {
            addCriterion("ISSUEBANK <>", value, "issueBank");
            return this;
        }

        public Criteria andIssueBankGreaterThan(String value) {
            addCriterion("ISSUEBANK >", value, "issueBank");
            return this;
        }

        public Criteria andIssueBankGreaterThanOrEqualTo(String value) {
            addCriterion("ISSUEBANK >=", value, "issueBank");
            return this;
        }

        public Criteria andIssueBankLessThan(String value) {
            addCriterion("ISSUEBANK <", value, "issueBank");
            return this;
        }

        public Criteria andIssueBankLessThanOrEqualTo(String value) {
            addCriterion("ISSUEBANK <=", value, "issueBank");
            return this;
        }

        public Criteria andIssueBankLike(String value) {
            addCriterion("ISSUEBANK like", value, "issueBank");
            return this;
        }

        public Criteria andIssueBankNotLike(String value) {
            addCriterion("ISSUEBANK not like", value, "issueBank");
            return this;
        }

        public Criteria andIssueBankIn(List values) {
            addCriterion("ISSUEBANK in", values, "issueBank");
            return this;
        }

        public Criteria andIssueBankNotIn(List values) {
            addCriterion("ISSUEBANK not in", values, "issueBank");
            return this;
        }

        public Criteria andIssueBankBetween(String value1, String value2) {
            addCriterion("ISSUEBANK between", value1, value2, "issueBank");
            return this;
        }

        public Criteria andIssueBankNotBetween(String value1, String value2) {
            addCriterion("ISSUEBANK not between", value1, value2, "issueBank");
            return this;
        }

        public Criteria andDueDateIsNull() {
            addCriterion("DUEDATE is null");
            return this;
        }

        public Criteria andDueDateIsNotNull() {
            addCriterion("DUEDATE is not null");
            return this;
        }

        public Criteria andDueDateEqualTo(String value) {
            addCriterion("DUEDATE =", value, "dueDate");
            return this;
        }

        public Criteria andDueDateNotEqualTo(String value) {
            addCriterion("DUEDATE <>", value, "dueDate");
            return this;
        }

        public Criteria andDueDateGreaterThan(String value) {
            addCriterion("DUEDATE >", value, "dueDate");
            return this;
        }

        public Criteria andDueDateGreaterThanOrEqualTo(String value) {
            addCriterion("DUEDATE >=", value, "dueDate");
            return this;
        }

        public Criteria andDueDateLessThan(String value) {
            addCriterion("DUEDATE <", value, "dueDate");
            return this;
        }

        public Criteria andDueDateLessThanOrEqualTo(String value) {
            addCriterion("DUEDATE <=", value, "dueDate");
            return this;
        }

        public Criteria andDueDateLike(String value) {
            addCriterion("DUEDATE like", value, "dueDate");
            return this;
        }

        public Criteria andDueDateNotLike(String value) {
            addCriterion("DUEDATE not like", value, "dueDate");
            return this;
        }

        public Criteria andDueDateIn(List values) {
            addCriterion("DUEDATE in", values, "dueDate");
            return this;
        }

        public Criteria andDueDateNotIn(List values) {
            addCriterion("DUEDATE not in", values, "dueDate");
            return this;
        }

        public Criteria andDueDateBetween(String value1, String value2) {
            addCriterion("DUEDATE between", value1, value2, "dueDate");
            return this;
        }

        public Criteria andDueDateNotBetween(String value1, String value2) {
            addCriterion("DUEDATE not between", value1, value2, "dueDate");
            return this;
        }

        public Criteria andCardHolderIsNull() {
            addCriterion("CARDHOLDER is null");
            return this;
        }

        public Criteria andCardHolderIsNotNull() {
            addCriterion("CARDHOLDER is not null");
            return this;
        }

        public Criteria andCardHolderEqualTo(String value) {
            addCriterion("CARDHOLDER =", value, "cardHolder");
            return this;
        }

        public Criteria andCardHolderNotEqualTo(String value) {
            addCriterion("CARDHOLDER <>", value, "cardHolder");
            return this;
        }

        public Criteria andCardHolderGreaterThan(String value) {
            addCriterion("CARDHOLDER >", value, "cardHolder");
            return this;
        }

        public Criteria andCardHolderGreaterThanOrEqualTo(String value) {
            addCriterion("CARDHOLDER >=", value, "cardHolder");
            return this;
        }

        public Criteria andCardHolderLessThan(String value) {
            addCriterion("CARDHOLDER <", value, "cardHolder");
            return this;
        }

        public Criteria andCardHolderLessThanOrEqualTo(String value) {
            addCriterion("CARDHOLDER <=", value, "cardHolder");
            return this;
        }

        public Criteria andCardHolderLike(String value) {
            addCriterion("CARDHOLDER like", value, "cardHolder");
            return this;
        }

        public Criteria andCardHolderNotLike(String value) {
            addCriterion("CARDHOLDER not like", value, "cardHolder");
            return this;
        }

        public Criteria andCardHolderIn(List values) {
            addCriterion("CARDHOLDER in", values, "cardHolder");
            return this;
        }

        public Criteria andCardHolderNotIn(List values) {
            addCriterion("CARDHOLDER not in", values, "cardHolder");
            return this;
        }

        public Criteria andCardHolderBetween(String value1, String value2) {
            addCriterion("CARDHOLDER between", value1, value2, "cardHolder");
            return this;
        }

        public Criteria andCardHolderNotBetween(String value1, String value2) {
            addCriterion("CARDHOLDER not between", value1, value2, "cardHolder");
            return this;
        }

        public Criteria andPhoneNumberIsNull() {
            addCriterion("PHONENUMBER is null");
            return this;
        }

        public Criteria andPhoneNumberIsNotNull() {
            addCriterion("PHONENUMBER is not null");
            return this;
        }

        public Criteria andPhoneNumberEqualTo(String value) {
            addCriterion("PHONENUMBER =", value, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberNotEqualTo(String value) {
            addCriterion("PHONENUMBER <>", value, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberGreaterThan(String value) {
            addCriterion("PHONENUMBER >", value, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberGreaterThanOrEqualTo(String value) {
            addCriterion("PHONENUMBER >=", value, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberLessThan(String value) {
            addCriterion("PHONENUMBER <", value, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberLessThanOrEqualTo(String value) {
            addCriterion("PHONENUMBER <=", value, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberLike(String value) {
            addCriterion("PHONENUMBER like", value, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberNotLike(String value) {
            addCriterion("PHONENUMBER not like", value, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberIn(List values) {
            addCriterion("PHONENUMBER in", values, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberNotIn(List values) {
            addCriterion("PHONENUMBER not in", values, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberBetween(String value1, String value2) {
            addCriterion("PHONENUMBER between", value1, value2, "phoneNumber");
            return this;
        }

        public Criteria andPhoneNumberNotBetween(String value1, String value2) {
            addCriterion("PHONENUMBER not between", value1, value2, "phoneNumber");
            return this;
        }

        public Criteria andCvv2IsNull() {
            addCriterion("CVV2 is null");
            return this;
        }

        public Criteria andCvv2IsNotNull() {
            addCriterion("CVV2 is not null");
            return this;
        }

        public Criteria andCvv2EqualTo(String value) {
            addCriterion("CVV2 =", value, "cvv2");
            return this;
        }

        public Criteria andCvv2NotEqualTo(String value) {
            addCriterion("CVV2 <>", value, "cvv2");
            return this;
        }

        public Criteria andCvv2GreaterThan(String value) {
            addCriterion("CVV2 >", value, "cvv2");
            return this;
        }

        public Criteria andCvv2GreaterThanOrEqualTo(String value) {
            addCriterion("CVV2 >=", value, "cvv2");
            return this;
        }

        public Criteria andCvv2LessThan(String value) {
            addCriterion("CVV2 <", value, "cvv2");
            return this;
        }

        public Criteria andCvv2LessThanOrEqualTo(String value) {
            addCriterion("CVV2 <=", value, "cvv2");
            return this;
        }

        public Criteria andCvv2Like(String value) {
            addCriterion("CVV2 like", value, "cvv2");
            return this;
        }

        public Criteria andCvv2NotLike(String value) {
            addCriterion("CVV2 not like", value, "cvv2");
            return this;
        }

        public Criteria andCvv2In(List values) {
            addCriterion("CVV2 in", values, "cvv2");
            return this;
        }

        public Criteria andCvv2NotIn(List values) {
            addCriterion("CVV2 not in", values, "cvv2");
            return this;
        }

        public Criteria andCvv2Between(String value1, String value2) {
            addCriterion("CVV2 between", value1, value2, "cvv2");
            return this;
        }

        public Criteria andCvv2NotBetween(String value1, String value2) {
            addCriterion("CVV2 not between", value1, value2, "cvv2");
            return this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("STATUS =", value, "status");
            return this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("STATUS <>", value, "status");
            return this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("STATUS >", value, "status");
            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("STATUS >=", value, "status");
            return this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("STATUS <", value, "status");
            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("STATUS <=", value, "status");
            return this;
        }

        public Criteria andStatusIn(List values) {
            addCriterion("STATUS in", values, "status");
            return this;
        }

        public Criteria andStatusNotIn(List values) {
            addCriterion("STATUS not in", values, "status");
            return this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return this;
        }
    }
}